<cfcomponent output="false">
	
	<!--- --->
	
	<cffunction name="login" access="public" output="false" returntype="query">
		
		<cfset var local = {} />
		
		<cfquery name="local.user" datasource="fundrdb">
			select 
			hex(id) as id,
			password
			from user where email = '#arguments.email#'
			and active = 1
		</cfquery>
		
		<cfreturn local.user />
		
	</cffunction>
	
	<!--- --->

</cfcomponent>